@import 'antd/es/style/themes/default.less';
.container {
  display: flex;
  flex: 1;
  flex-direction: column;

  min-height: calc(100vh - 136px);
  .header {
    box-sizing: border-box;
    height: 240px;
    padding: 24px;

    border-bottom: 1px solid @border-color-split;
    .header-inner {
      display: flex;
      align-items: flex-start;
      flex-direction: row;
      justify-content: center;

      height: 100%;

      border-radius: @border-radius-base;
      background-color: @grey-2;
      .header-block {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: flex-start;

        height: 100%;
        padding: 24px;

        cursor: pointer;
        &.active {
          .icon-box {
            background-color: @primary-color;
          }
        }
        &.error {
          .icon-box {
            background-color: @error-color;
          }
        }
        &.warn {
          .icon-box {
            background-color: @warning-color;
          }
        }
        .icon-box {
          font-size: @heading-2-size;

          display: flex;
          align-items: center;
          justify-content: center;

          width: 56px;
          height: 56px;
          margin-right: 16px;

          color: #fff;
          border-radius: 6px;
          background-color: @grey-5;
        }
        .header-block-text {
          height: 56px;
        }
        .header-block__text--top {
          font-size: 18px;
          line-height: 18px;

          color: @text-color-secondary;
        }
        .header-block__text--bottom {
          line-height: @heading-1-size;

          display: inline-block;

          height: @heading-1-size;
          padding-top: 4px;

          color: @heading-color;
        }
        .header-block__text-num {
          font-size: @heading-1-size;
        }
        .header-block__text-unit {
          font-size: @font-size-lg;
        }
      }
    }
  }
  .body {
    display: flex;
    flex: 1;
    flex-direction: row;
    .body-left {
      flex: 1;

      padding: 0 48px;

      border-right: 1px solid @border-color-split;
      .body-title-line {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;

        height: 56px;
        margin: 24px 0;
        .body-title__text {
          font-size: @heading-4-size;
          font-weight: bold;

          color: @heading-color;
        }
        .body__more-btn {
          font-size: @font-size-lg;

          display: flex;
          align-items: center;
          justify-content: center;

          width: 32px;
          height: 32px;

          cursor: pointer;

          color: @text-color-secondary;
          border: 1px solid @border-color-split;
          border-radius: @border-radius-base;
        }
      }
    }
    .body-right {
      width: 376px;
    }
  }
  .notice-list {
    > li {
      position: relative;

      height: 40px;
      margin-bottom: 48px;
      padding-left: 56px;
      .notice-icon {
        position: absolute;
        top: 0;
        left: 0;

        width: 40px;
        height: 40px;
        img {
          width: 40px;
          height: 40px;
        }
      }
      .title-line,
      .text-line {
        font-size: @font-size-base;
        line-height: @heading-4-size;

        height: @heading-4-size;

        color: @text-color;
      }
      .title-line {
        > a {
          color: @link-color;
        }
      }
      .text-line {
        > span:last-child {
          float: right;

          color: @text-color-secondary;
        }
      }
    }
  }
}

.book-list {
  padding: 0 24px 12px 24px;
}
.book-li {
  font-size: @font-size-base;
  line-height: @line-height-base;

  position: relative;

  padding-left: 56px;

  color: @text-color;
  .book-li__time {
    position: absolute;
    top: 0;
    left: 0;

    color: @text-color-secondary;
  }
}

.item-name {
  cursor: pointer;
  user-select: none;

  color: @primary-color;
}

.item-urgency {
  color: @error-color;
  &::before {
    display: inline-block;

    width: 4px;
    height: 4px;
    margin: 0 4px;

    content: '';
    vertical-align: middle;

    border-radius: 50%;
    background-color: @error-color;
  }
}